package com.mbrs.repo;

import com.mbrs.aggr.MySession;
import erp.redis.RedisRepository;
import org.springframework.data.redis.core.RedisTemplate;

import java.util.List;

/**
 * @author zheng chengdong
 */
public class RedisMySessionRepository extends RedisRepository<MySession, String> implements MySessionRepository {

    public RedisMySessionRepository(RedisTemplate<String, Object> redisTemplate) {
        super(redisTemplate);
    }

    @Override
    public List<String> getAllSessionIds() {
        return queryAllIds();
    }
}
